package com.dog.basics.bean.dto.api.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author guoy
 * @since 2020-03-23
 */
@Data
public class UpdateMobileDto implements Serializable {


    /**
     * 新手机号
     */
    @NotBlank(message = "新手机号不能为空")
    @ApiModelProperty(value = "新手机号", dataType = "String", required = true)
    private String phone;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", dataType = "String", required = true)
    private String code;




}
